package com.tac.pojo.scm;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class PurchasePlanDetails {

    @ApiModelProperty("主键")
    private Integer id;
    @ApiModelProperty("采购计划表主键")
    private Integer purchasePlanId;
    @ApiModelProperty("物料主键")
    private Integer materialId;
    @ApiModelProperty("采购数量")
    private Integer purchaseQuantity;
    @ApiModelProperty("需求数量")
    private Integer demandQuantity;
    @ApiModelProperty("需求日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date demandDate;
    @ApiModelProperty("备注")
    private String remark;

//下面字段是联保查询来的
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("型号")
    private String model;
    @ApiModelProperty("规格")
    private String specifications;
    @ApiModelProperty("单位")
    private String unit;

}
